#ifndef __SCREEN_H
#define __SCREEN_H

#include "flv.h"

struct FLVAPI BGR {
	uc b;
	uc g;
	uc r;
};
struct FLVAPI ScreenVideo {
	CStream stream;
	int blockSize;			
	int imageWidth;
	int imageHeight;
	int rows;			
	int cols;
	int frame;				/* frame number */
	int compression;
	char *blockMap;
	struct BGR *image;
};
class FLVAPI CScreenVideo{
protected:
	CScreenVideo(){}
public:
	ScreenVideo m_screenvideo;
	static CScreenVideo* Create(int width, int height, int blockSize, int comp);
};
#endif